package kr.co.nowgugudan;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.app.Activity;
import android.app.TabActivity;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.media.AudioManager;
import android.os.Bundle;
import android.view.View;
import android.widget.ExpandableListAdapter;
import android.widget.ExpandableListView;
import android.widget.SimpleExpandableListAdapter;
import android.widget.TabHost;

public class OptionDH extends TabActivity {
	 TabHost mTab;
	  
	    public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        TabHost tabHost = getTabHost();
	  
	        Drawable icon=getResources().getDrawable(R.drawable.study1);
	        Drawable icon2=getResources().getDrawable(R.drawable.game1);
	        Drawable icon3=getResources().getDrawable(R.drawable.record1);
	        Intent int1=new Intent(this,kr.co.nowgugudan.tab.Tabbase4.class);
	        int1.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
	        tabHost.addTab(tabHost.newTabSpec("tag")
	        		.setIndicator("",icon)
	        		.setContent(int1));
	        
	        Intent int2=new Intent(this,kr.co.nowgugudan.tab.Tabbase5.class);
	        int1.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
	        tabHost.addTab(tabHost.newTabSpec("tag")
	        		.setIndicator("",icon2)
	        		.setContent(int2));
	        
	        Intent int3=new Intent(this,kr.co.nowgugudan.tab.Tabbase6.class);
	        int1.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
	        tabHost.addTab(tabHost.newTabSpec("tag")
	        		.setIndicator("",icon3)
	        		.setContent(int3));
	    }
}
